package com.wus.system.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @Description: 字典数据明细编辑请求
 * @Author: wus
 * @Date: 2025/1/6 15:44
 */
@Schema(description = "字典数据明细编辑请求")
@Data
public class SysDictDataDetailEditReq {

    @Schema(description = "字典数据ID")
    private Long id;

    @Schema(description = "字典排序")
    @NotNull(message = "字典排序不能为空")
    private Integer dictSort;

    @Schema(description = "字典标签")
    @NotBlank(message = "字典标签不能为空")
    private String dictLabel;

    @Schema(description = "字典键值")
    @NotBlank(message = "字典键值不能为空")
    private String dictValue;

    @Schema(description = "是否默认（Y是 N否）")
    private String isDefault;

    @Schema(description = "备注")
    private String remark;
}
